﻿@{
    Layout = "~/Views/Shared/_IVSLayout.cshtml";
}



@if (@ViewBag.id == 1)
{
    <div>
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Edit Meal</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   	<p></p>

					<p></p>
							<table class="inputForm">
								<tbody>
								<tr>
									<th > <span class="requirement">*</span>Meal name</th>
									<td >
										<input id="txtFromDate0" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code0" value="A" type="text"></td>
									<th scope="row" style="width:45px;"> <span class="requirement">*</span>City</th>
									<td >
										<input id="txtFromDate6" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code6" value="TP HCM" type="text"></td>
                                </tr>
								<tr>
									<th > <span class="requirement">*</span>Meal kind</th>
									<td >
                                <select name="select2" style="width: 100px">
                                    <option value="Male">Kind 1</option>
                                    <option value="FeMale">Kind 2</option>
                                    <option value="FeMale">Kind 3</option>
                                </select></td>
									<th scope="row" style="width:45px;"> <span class="requirement">*</span>Tel</th>
									<td >
										<input id="txtFromDate2" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code2" value="84-235456874" type="text"></td>
                                </tr>
								<tr>
									<th > Fax</th>
									<td >
										<input id="txtFromDate4" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code4" value="" type="text"></td>
									<th scope="row" style="width:45px;">Attention</th>
									<td >
										<input id="txtFromDate5" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code5" value="84-235456875" type="text"></td>
                                </tr>
                               
								</tbody>
							</table>
                           <input name="btnSave" type="button" value="Save" onclick="location.href='/MSML00'" />                       
             <input name="btnBack" type="button" value="Back" onclick="location.href='/MSML00'" />
							<div Code="divList">
						<div Code="divList">
						<div class="success">
								<p></p>
						</div>
						</div>
						</div>


               <!-- InstanceEndEditable -->   
               
            </div>
}
else
{
    <div>
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Add Meal</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   		<div id="tabs-2">
							<table class="inputForm">
								<tbody>
								<tr>
									<th > <span class="requirement">*</span>Meal name</th>
									<td >
										<input id="txtFromDate0" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code0" value="" type="text"></td>
									<th scope="row" style="width:45px;"> <span class="requirement">*</span>City</th>
									<td >
										<input id="txtFromDate6" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code6" value="" type="text"></td>
                                </tr>
								<tr>
									<th > <span class="requirement">*</span>Meal kind</th>
									<td >
                                <select name="select2" style="width: 100px">
                                    <option value="Male">Kind 1</option>
                                    <option value="FeMale">Kind 2</option>
                                    <option value="FeMale">Kind 3</option>
                                </select></td>
									<th scope="row" style="width:45px;"> <span class="requirement">*</span>Tel</th>
									<td >
										<input id="txtFromDate2" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code2" value="" type="text"></td>
                                </tr>
								<tr>
									<th > Fax</th>
									<td >
										<input id="txtFromDate4" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code4" value="" type="text"></td>
									<th scope="row" style="width:45px;">Attention</th>
									<td >
										<input id="txtFromDate5" style="width:130px;" class="txt100" Code="USER_Code" 
                                            name="USER_Code5" value="" type="text"></td>
                                </tr>
                               
								</tbody>
							</table>
			</div>
			<input name="btnSave" type="button" value="Save" onclick="location.href='/MSML00'" />                       
             <input name="btnBack" type="button" value="Back" onclick="location.href='/MSML00'" />
               <!-- InstanceEndEditable -->   
               
            </div>
     
}